package cn.stylefeng.guns.modular.scheduleInfo.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.scheduleInfo.entity.ScheduleDetailInfo;
import cn.stylefeng.guns.modular.scheduleInfo.model.params.ScheduleDetailInfoParam;
import cn.stylefeng.guns.modular.scheduleInfo.model.result.ScheduleDetailInfoResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 排班详情 服务类
 * </p>
 *
 * @author wp
 * @since 2025-03-04
 */
public interface ScheduleDetailInfoService extends IService<ScheduleDetailInfo> {

    /**
     * 新增
     *
     * @author wp
     * @Date 2025-03-04
     */
    void add(ScheduleDetailInfoParam param);

    /**
     * 删除
     *
     * @author wp
     * @Date 2025-03-04
     */
    void delete(ScheduleDetailInfoParam param);

    /**
     * 更新
     *
     * @author wp
     * @Date 2025-03-04
     */
    void update(ScheduleDetailInfoParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wp
     * @Date 2025-03-04
     */
    ScheduleDetailInfoResult findBySpec(ScheduleDetailInfoParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wp
     * @Date 2025-03-04
     */
    List<ScheduleDetailInfoResult> findListBySpec(ScheduleDetailInfoParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wp
     * @Date 2025-03-04
     */
     LayuiPageInfo findPageBySpec(ScheduleDetailInfoParam param,String condition);

    List<ScheduleDetailInfoResult> checkUnique(ScheduleDetailInfoParam scheduleDetailInfoParam);
}
